<?php

return [
    'backSuccess' =>        ['code'=>20000, 'msg'=>'正常返回数据'],
    'registerFail' =>       ['code'=>30000, 'msg'=>'注册失败'],
    'loginFail' =>          ['code'=>30020, 'msg'=>'帐号或密码错误'],
    'verifyCodeSendFail' => ['code'=>30030, 'msg'=>'验证码发送失败'],
    'verifyCodeFail' =>     ['code'=>30035, 'msg'=>'验证码错误'],
    'verifyDeviceFail' =>   ['code'=>30037, 'msg'=>'机构与用户设备码不一致'],
    'gameIsPlaying' =>      ['code'=>30040, 'msg'=>'干预项目正在进行，无法重新开始'],
    'gameInDeviceDisabled'=>['code'=>30043, 'msg'=>'此训练项目在当前设备中未开启'],
    'gameNotStart' =>       ['code'=>30050, 'msg'=>'干预项目未开始，无法结束'],
    'gameIsFinish' =>       ['code'=>30060, 'msg'=>'干预项目已结束，请求异常'],
    'deviceFail' =>         ['code'=>30100, 'msg'=>'硬件编码错误'],
    'urlFail' =>            ['code'=>40000, 'msg'=>'请求地址不存在'],
    'tokenFail' =>          ['code'=>40001, 'msg'=>'未登陆（token验证未通过）'],
    'noAuth' =>             ['code'=>40002, 'msg'=>'没有权限'],
    'isExist' =>            ['code'=>40007, 'msg'=>'提交的数据已存在'],
    'cannotManage'=>        ['code'=>40010, 'msg'=>'没有管理权限'],
    'cannotdelete'=>        ['code'=>40015, 'msg'=>'有关联数据无法删除'],
    'paramError' =>         ['code'=>40022, 'msg'=>'参数错误'],
    'noRecord' =>           ['code'=>40030, 'msg'=>'没有对应记录'],
    'timeOut' =>            ['code'=>40040, 'msg'=>'干预训练超时'],
    'serverError' =>        ['code'=>50000, 'msg'=>'服务端错误'],
];